home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ Network Login Picture.xpl < prev    next >
Text File  |  1999-10-21  |  1KB  |  39 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="3"
  3. "COUNT"="1"
  4. "UIPATH"="Network\Login\2) Before Login Window"
  5. "NAME"="Background: Wallpaper"
  6. "VERSION"="1.02"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Picture 1"
  9. "DATA 1"="Bitmap picturs (*.BMP)|*.bmp"
  10. "DESCRIPTION 1"="This plug-in can be used to change the pictures that is displayed before any user is able to login (means: before the login window appears)."
  11. "AUTHOR"="Xteq Systems"
  12. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  13. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  14. "COMMENT 2"="Thanks to CptSiskoX for this setting."
  15.  
  16.  
  17. sPath="HKUS\.DEFAULT\Control Panel\Desktop\Wallpaper"
  18. Sub Plugin_Initialize 
  19.  s=RegReadValue(sPath)
  20.  SetUIElement 1,s 
  21. End Sub
  22.  
  23. Sub Plugin_CheckData(ElementIndex)
  24. End Sub
  25.  
  26. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  27.  s=GetUIElement(1)
  28.  if len(s)>0 then
  29.     Call RegWriteValue(sPath,s,1)
  30.  end if
  31.  
  32.  Call Logoff
  33.  Call MsgInformation("The new logo has been set.")
  34. End Sub
  35.  
  36. Sub Plugin_Terminate 
  37. End Sub
  38.  
  39.